package demofactory;

public class Test {
    public static void main(String[] args) {
        IUserFactory adimalUser = new AdimalFactory();
        User admimal1 = adimalUser.createUSER("张三",123);
        admimal1.menu();
        IUserFactory normalUser = new NormalFactory();
        User normal1 = normalUser.createUSER("李四",124);
        normal1.menu();
    }

}
